<template>
	<div class="error-page">
		<van-icon name="failure" />
		<p class='text'>网络不给力</p>
		<van-button
			class="btn"
		    type="default"
		    size="small"
			@click="$emit('btn-click')"
		></van-button>
	</div>
</template>

<script>
	export default {
		name:'errorPage',
		data(){
			return {}
		}
	}
</script>

<style scoped lang="less">
	.error-page{
		padding-top:100px;
		text-align:center;
		.btn{
			width:30%;
		}
	}
</style>
